﻿@model PlanificadorDeEventos.Models.Evento

@{
    ViewBag.Title = "Eliminar";
}

<h2>Eliminar</h2>

<h3>¿Está seguro que desea eliminar el evento?</h3>
<fieldset>
    <legend>Evento</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Date)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Date)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.EndRegistrationDate)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.EndRegistrationDate)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Nombre)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Nombre)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Description)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Description)
    </div>

</fieldset>
@using (Html.BeginForm()) {
    
        <input type="submit" value="Eliminar" style="margin-left:170px"/> 
    <p>
        @Html.ActionLink("Volver", "MisEventos", null, new { @class = "roundedButton" })
    </p>
}
